package A经典面试;

public class TestString {
    static short count = 0;
    int a;

    public static void countUp(){
        for(int x = 6; x > count; x--, ++count){
            System.out.print(" " + count+ "\t");
            System.out.print(x);
            System.out.println("");
        }

        /**
         *
         * x        6   5   4   3
         * count    0   1   2   3
         *
         * 所以 只执行三次
         */
    }

    public static void main(String[] args) {
        countUp();
    }


}
